Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix config driver enable logic #50

Merged
merged 2 commits into from
Jul 5, 2016
Merged

Conversation

garycmartin
Copy link
Contributor

Fixed the papirus-config script driver enable/disable logic (they were the wrong way round), and disambiguates the driver menu text so that it doesn’t output “Enable Driver” to the terminal even when you intention is to disable the driver.

Using papirus-config’s enable driver options was incorrectly disabling
the driver when the enable menu was selected, and disabling the driver
when the enable menu was selected. This patch swaps that logic.
Removing the “Enable” word from the menu, prevents confusion when
“Enable Driver” text appears in the console output even when when you
had selected to disable the driver.
@shawaj
Copy link
Member

shawaj commented Jul 5, 2016

Thanks @garycmartin !!

@shawaj shawaj merged commit 4a9ca5a into PiSupply:master Jul 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants